#ifndef MINILIFESYNC_H
#define MINILIFESYNC_H

#include "ui_minilifesync.h"
#include <QtGui/QMainWindow>
#include <QMoveEvent>
#include <QSettings>

class MiniLifeSync : public QMainWindow
{
    Q_OBJECT

    public:
        MiniLifeSync(QWidget *parent = 0);
        ~MiniLifeSync();
        Ui::MiniLifeSync *miniLife;
        void writeMiniLifeSyncSettings();

    protected:
        //Track when the user moves the main window
        void mousePressEvent(QMouseEvent *mouse);
        void mouseMoveEvent(QMouseEvent *mouse);

    private:
        //Holds current position of the mouse
        QPoint currentPos;

        void readMiniLifeSyncSettings();
        
    private slots:
        void on_miniExit_Button_clicked();
};

#endif // MINILIFESYNC_H
